<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML {$html_attrs}><HEAD><TITLE>Planejamento</TITLE>
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}
<STYLE>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px 0;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
</STYLE>
{END style_block}
<META content="MSHTML 6.00.6000.17080" name=GENERATOR></HEAD>
<BODY>{BEGIN body}{$header} {BEGIN addForm}
<DIV class=errOutput id=errOutput></DIV>
<DIV class=zpFormContent>
<TABLE id="center_block{$id}" cellSpacing=0 cellPadding=0 width="95%" align=center>
  <TBODY>
  <TR>
    <TD id="header_block{$id}">{BEGIN flybody}
      <DIV id="header_block{$id}">
      <H1>Planejamento, Novo Registro</H1></DIV>
      {BEGIN message_block}<DIV class=downedit id="message_block{$id}">{$message}</DIV>{END message_block}
      <DIV align=left>
      <HR width="100%" noShade SIZE=1>
      </DIV><A href="planejamento_list.php?a=return" {$backbutton_attrs}><IMG 
      height=20 alt=Voltar src="botoes/bt_voltar.gif" width=58 
      border=0></A><BR><BR>
      <TABLE id="fields_block{$id}" cellSpacing=2 cellPadding=4 border=0>
        <TBODY>
        {BEGIN atividade_fieldblock}<TR>
          <TD class=shade width=150>{BEGIN atividade_label}Atividade{END atividade_label}</TD>
          <TD width=250>{$atividade_editcontrol} </TD></TR>{END atividade_fieldblock}
        {BEGIN id_sub_programas_fieldblock}<TR>
          <TD class=shade width=150>{BEGIN id_sub_programas_label}Sub 
            Programas{END id_sub_programas_label}</TD>
          <TD width=250>{$id_sub_programas_editcontrol} </TD></TR>{END id_sub_programas_fieldblock}
        {BEGIN fator_qualidade_fieldblock}<TR>
          <TD class=shade width=150>{BEGIN fator_qualidade_label}Fator 
            Qualidade{END fator_qualidade_label}</TD>
          <TD width=250>{$fator_qualidade_editcontrol} </TD></TR>{END fator_qualidade_fieldblock}
        {BEGIN plano_manejo_fieldblock}<TR>
          <TD class=shade width=150>{BEGIN plano_manejo_label}Plano 
          Manejo{END plano_manejo_label}</TD>
          <TD width=250>{$plano_manejo_editcontrol} 
      </TD></TR>{END plano_manejo_fieldblock}</TBODY></TABLE>
      <DIV id="buttons_block{$id}"><BR>&nbsp;&nbsp;&nbsp; 
      <DIV align=left>
      <HR width="100%" noShade SIZE=1>
      </DIV>
      {BEGIN legend}<DIV id="required_block{$id}"><IMG alt=bullet 
      src="images/icon_required.gif"> - Preenchimento Obrigatório</DIV>{END legend}{$legendBreak} 
      {BEGIN save_button}<INPUT type=image src="images/bt_enviar.gif" value=submit name=submit1>{END save_button} {BEGIN cancel_button}<INPUT type=image src="images/bt_cancelar.gif" value=submit name=input {$cancelbutton_attrs}>{END cancel_button} 
      </DIV>{END flybody}</TD></TR></TBODY></TABLE></DIV>{END addForm}{BEGIN detail_tables}{$displayDetailTable_sigap_etapas} 
{END detail_tables}<BR><BR>{$footer} {END body}
<SCRIPT src="templates_js/planejamento_add.js" charset=iso-8859-1></SCRIPT>

<SCRIPT>

new Zapatec.Form({
	form: 'editform1',
	showErrors: 'afterField',
	showErrorsOnSubmit: false,
	submitErrorFunc: testErrOutput,
	theme: "default"
});
</SCRIPT>
</BODY></HTML>